package com.amos.muexamclient.sys.mapper;

import com.amos.muexamclient.sys.entity.SysUserEntity;
import com.amos.muexamclient.sys.service.dto.SysUserDTO;
import com.amos.muexamcore.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


/**
 * Copyright © 2018 五月工作室. All rights reserved.
 *
 * @Package com.amos.muexamclient.sys.mapper
 * @ClassName SysUserDao
 * @Description TODO
 * @Author Amos
 * @Modifier
 * @Date 2020-03-21 22:08:15
 * @Version 1.0
 **/
@Mapper
public interface SysUserMapper extends BaseMapper<SysUserEntity, SysUserDTO> {


    void resetPassword(@Param("id") String id, @Param("password") String newPassword);

    int deleteUserByIds(@Param("array") String[] userIds);
}